package com.leyou;

import com.leyou.gateway.config.FilterProperties;
import com.leyou.gateway.config.JwtProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableFeignClients
@EnableScheduling   //开启定时任务
@EnableConfigurationProperties({JwtProperties.class, FilterProperties.class})
public class LyGateway {

    public static void main(String[] args) {
        SpringApplication.run(LyGateway.class,args);
    }

}
